//
//  SquarePostsDetailsTableViewCell.h
//  安好
//
//  Created by rlp on 14-11-21.
//  Copyright (c) 2014年 lianchuangbrother. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SquarePostsDetailsReplylTableView.h"
#import "UIImageView+MJWebCache.h"
#import "ImageListView.h"

@protocol SelectSquarePostsDetailsTableViewCellDelegate <NSObject>
/**
 *  选择头像的回调
 *
 *  @param headimageView 头像的imageView
 *  @param index        imageView的tag
 */
-(void)squarePostsDetailsTableViewWithImageView:(UIImageView *)headimageView didSelectCellAtIndex:(NSInteger)index;




/**
 *  点击查看更多
 *
 *  @param button <#button description#>
 *  @param index  <#index description#>
 */
-(void)squarePostsDetailsTableViewWithButton:(UIButton *)button didSelectCellAtIndex:(NSInteger)index;


@end
@interface SquarePostsDetailsTableViewCell : UITableViewCell<RCLabelDelegate,RCLabelSizeDelegate,ImageViewsDelegate>
@property (strong, nonatomic)SquarePostsDetailsReplylTableView *tableView;
@property (strong, nonatomic)UIImageView *headImage;//楼主头像图片
@property (strong,nonatomic)UILabel *tagText;//楼主标签
@property (strong, nonatomic)UILabel *headerTitle;//标题
@property (strong, nonatomic)UILabel *headerTimeText;//帖子创建时间
@property (strong, nonatomic)NSString *contentStr;//帖子内容字符串
@property (strong, nonatomic)NSMutableArray *quoteArray;//回复数组

@property (strong, nonatomic)NSMutableArray *imageListimages;
@property (strong, nonatomic)ImageListView *imageListView;


@property (strong, nonatomic)NSMutableDictionary *modelData;//cell数据
@property (strong, nonatomic)UIImageView *timeImageView;
@property (strong, nonatomic)UILabel *rclabel;//内容label


-(void)loadCellData:(NSDictionary *)dict;

@property(assign,nonatomic)id<SelectSquarePostsDetailsTableViewCellDelegate>delegate;
@property(assign,nonatomic)NSInteger index;


@end
